<template>
  <div class="HomeActive">
    <img :src="img"/>
  </div>
</template>

<script lang="ts">
import { Vue, Component, Prop } from "vue-property-decorator";

@Component({})
export default class HomeActive extends Vue {
  @Prop() img?:string;
}
</script>

<style lang="scss" scoped>
.HomeActive {
  width: 100%;
  height: 300px;
  padding: 30px 30px 0 30px;
  box-sizing: border-box;
  & > img {
    width: 100%;
    max-height: 300px;
    display: block;
  }
}
</style>